import request from '@/utils/request'

export const userPagesService = (params) => {
  return request.get('/users/pages', { params })
}

export const userAddService = (data) => {
  return request.post('/users', data)
}

export const userUpdateService = (data) => {
  return request.put('/users', data)
}

// （批量）删除管理员信息
export const userDeleteMultipleService = (data) => {
  return request.delete(`/users/${data}`)
}
